package com.system.outpatientsystem.service.impl;

import com.system.outpatientsystem.mapper.PriceMapper;
import com.system.outpatientsystem.mapper.RecordMapper;
import com.system.outpatientsystem.pojo.User;
import com.system.outpatientsystem.pojo.price_table;
import com.system.outpatientsystem.pojo.record_table;
import com.system.outpatientsystem.pojo.record_table;
import com.system.outpatientsystem.service.PriceService;
import com.system.outpatientsystem.service.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class PriceServiceImpl implements PriceService {

    @Autowired
    private PriceMapper priceMapper;

    @Override
    public Integer findByName(String name) {
        return priceMapper.findByName(name);
    }
}
